package cn.itcast.day01.demo;

public class demoText02 {
    public static void main(String[] args) {
        student stu1 = new student();
        stu1.setName("迪丽热巴");
        stu1.setAge(20);
        System.out.println("姓名：" + stu1.getName() + "年龄：" + stu1.getAge());
        System.out.println("==================");
        student stu2 = new student();
        stu2.setName("古力娜扎");
        stu2.setAge(21);
        System.out.println("姓名：" + stu2.getName() + "年龄：" + stu2.getAge());
        stu2.setAge(22);
        System.out.println("姓名：" + stu2.getName() + "年龄：" + stu2.getAge());

    }
}
